package demo.student;

import java.io.Serializable;

public class AverageScore implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer yuwen;
    private Integer yingyum;
    private Integer shuxue;

    public AverageScore() {
    }

    public AverageScore(Integer yuwen, Integer yingyum, Integer shuxue) {
        this.yuwen = yuwen;
        this.yingyum = yingyum;
        this.shuxue = shuxue;
    }

    public Integer getYuwen() {
        return yuwen;
    }

    public void setYuwen(Integer yuwen) {
        this.yuwen = yuwen;
    }

    public Integer getYingyum() {
        return yingyum;
    }

    public void setYingyum(Integer yingyum) {
        this.yingyum = yingyum;
    }

    public Integer getShuxue() {
        return shuxue;
    }

    public void setShuxue(Integer shuxue) {
        this.shuxue = shuxue;
    }

    @Override
    public String toString() {
        return "AverageScore{" +
                "yuwen=" + yuwen +
                ", yingyum=" + yingyum +
                ", shuxue=" + shuxue +
                '}';
    }
}
